//
//  HBReadBottomView.h
//  HeartBeat
//
//  Created by karong on 2023/9/12.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class HBReadBottomView;
@protocol HBReadBottomViewDelegate <NSObject>
///点击底部菜单的上一章，下一章按钮
-(void)bottomClickLastNext:(HBReadBottomView *)enumView hasLast:(BOOL)hasLast;
///設置
- (void)bottomClickSeeting:(HBReadBottomView *)enumView;
///点击底部菜单的阅读进度滑动
-(void)bottomSliderPageChange:(HBReadBottomView *)enumView pageControl:(NSInteger)pageControl;
///白天夜间模式切换
-(void)bottomChangeDayNight:(HBReadBottomView *)enumView ifDay:(BOOL)ifDay;
///展示章节列表
- (void)bottomChapterList:(HBReadBottomView *)enumView;
@end

@interface HBReadBottomView : UIView
@property (nonatomic, weak) id <HBReadBottomViewDelegate>delegate;
@property (nonatomic, assign) BOOL hasBookShelf;
@property (nonatomic, copy) 回调一个数字 clickSubItemBlock;
@property (weak, nonatomic) IBOutlet UISlider *sliderView;
- (void)setContentDataWithShowModel:(HBChapterModel *)showModel;
- (void)reloadAllData;
@end

NS_ASSUME_NONNULL_END
